package com.example.demo.service;

import com.example.demo.entity.User;

import java.util.List;

public interface UserService {
    User login(String username, String password);
    boolean register(User user);
    boolean updateUser(User user);
    boolean deleteUser(Integer id);
    User findUserById(Integer id);
    List<User> getAllUsers();
}